Ubuntu 15.04
Sponsored Link

Services Settings
2015/04/24
[1] It's possible to make sure services' status like follows.
# display the list of services which are running

root@dlp:~#
systemctl -t service

  UNIT                               LOAD   ACTIVE SUB     DESCRIPTION
  accounts-daemon.service            loaded active running Accounts Service
  apparmor.service                   loaded active exited  LSB: AppArmor initialization
  cron.service                       loaded active running Regular background program processing daemon
  dbus.service                       loaded active running D-Bus System Message Bus
...
...
...
  ufw.service                        loaded active exited  Uncomplicated firewall
  user@1000.service                  loaded active running User Manager for UID 1000

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

38 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

# the list of all services

root@dlp:~#
systemctl list-unit-files -t service

UNIT FILE                              STATE
accounts-daemon.service                enabled
autovt@.service                        disabled
bootlogd.service                       masked
bootlogs.service                       masked
bootmisc.service                       masked
...
...
...
user@.service                          static
uuidd.service                          static
x11-common.service                     masked

145 unit files listed.
[2] Stop and turn OFF auto-start setting for a service if you don'd need it. (it's Apparmor as an example below)
root@dlp:~#
systemctl stop apparmor

root@dlp:~#
systemctl disable apparmor

 
Tweet